import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;


public class MapTest {
	public static void main(String[] args) {
		Map<String,String> map=new HashMap<>();
		map.put("1", "Kobe");
		map.put("2", "Curry");
		map.put("3", "Iverson");
		
		Set<String> s = map.keySet();
		for(String key:s) {
			System.out.println(key+"..."+map.get(key));
		}
		
		Set<Entry<String,String>> es = map.entrySet();
		
		for(Entry e :es) {
			System.out.println(e.getKey()+".."+e.getValue());
		}
	}
}
